﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Empires.BLL.Core.IService;
using Empires.RAL.Access;
using Empires.RAL.Pump;
using Empires.CRL.DataContract;

namespace Empires.BLL.Core.Implement
{
    public class CompanyNoticeService : ICompanyNoticeService
    {
        public List<DefaultDataPack> GetNoticeList(string copName, int type, int page, int size)
        {
            ICompanyNoticeAccess access = new CompanyNoticeDataPump();
            return access.GetNoticeList(copName, type, page, size);
        }


        public List<DefaultDataPack> GetNoticeArticle(string copName, int nid)
        {
            ICompanyNoticeAccess access = new CompanyNoticeDataPump();
            return access.GetNoticeArticle(copName, nid);
        }
    }
}
